package com.hidt.shop.domain;

import java.util.List;

public class S_goods {

    /***
     *@methodName
     *@方法功能描述：
                    实体类
     *@params
     * @param null
     *@return
     *@exception
     *@author $風~$
     *@Date 2021/1/18
     */
    //      商品id
    int good_id;

    //    商品名称
    String good_name;

    //    商品所属的小分类
    int category_id;

    //    商品的图片
    String picture;

//    商品的价格
    float sale_price;

//    商品的剩余数量
    int remaining_count;

//    商品 的上下架     1上架  0为下架
    int is_upload;

//    商品数据是否删除  1 是没删    0是删
    int is_delete;

//    小分类的名称
    int category_name;

//    大分类id
    int class_id;

    //    大分类名称
    String class_name;

//    商品出售者
    String saler;

//    用于index.jsp疯狂抢购区的图片
    String pic;

//    小图片1
    String small_pic1;

    //    小图片2
    String small_pic2;

    //    小图片3
    String small_pic3;

    //    小图片4
    String small_pic4;

    //    小图片5
    String small_pic5;

    //    用于index.jsp疯狂抢购区的说明、info.jsp中标题的说明和catlist.jsp的商品名称
    String decribe;

//    运费
    float carriage;

//    累计售出
    int count_sum;

//    值为全新或二手商品
    String type;

//    商品所在地
    String address;

//   浏览数量
    int  count_watch;

//    商品集合
 List<Goods> goods_list;

    public S_goods() {
    }

    public S_goods(int good_id, String good_name, int category_id, String picture, float sale_price, int remaining_count, int is_upload, int is_delete, int category_name, int class_id, String class_name, String saler, String pic, String small_pic1, String small_pic2, String small_pic3, String small_pic4, String small_pic5, String decribe, float carriage, int count_sum, String type, String address, int count_watch, List<Goods> goods_list) {

        this.good_id = good_id;
        this.good_name = good_name;
        this.category_id = category_id;
        this.picture = picture;
        this.sale_price = sale_price;
        this.remaining_count = remaining_count;
        this.is_upload = is_upload;
        this.is_delete = is_delete;
        this.category_name = category_name;
        this.class_id = class_id;
        this.class_name = class_name;
        this.saler = saler;
        this.pic = pic;
        this.small_pic1 = small_pic1;
        this.small_pic2 = small_pic2;
        this.small_pic3 = small_pic3;
        this.small_pic4 = small_pic4;
        this.small_pic5 = small_pic5;
        this.decribe = decribe;
        this.carriage = carriage;
        this.count_sum = count_sum;
        this.type = type;
        this.address = address;
        this.count_watch = count_watch;
        this.goods_list = goods_list;
    }

    public int getGood_id() {
        return good_id;
    }

    public void setGood_id(int good_id) {
        this.good_id = good_id;
    }

    public String getGood_name() {
        return good_name;
    }

    public void setGood_name(String good_name) {
        this.good_name = good_name;
    }

    public int getCategory_id() {
        return category_id;
    }

    public void setCategory_id(int category_id) {
        this.category_id = category_id;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public float getSale_price() {
        return sale_price;
    }

    public void setSale_price(float sale_price) {
        this.sale_price = sale_price;
    }

    public int getRemaining_count() {
        return remaining_count;
    }

    public void setRemaining_count(int remaining_count) {
        this.remaining_count = remaining_count;
    }

    public int getIs_upload() {
        return is_upload;
    }

    public void setIs_upload(int is_upload) {
        this.is_upload = is_upload;
    }

    public int getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(int is_delete) {
        this.is_delete = is_delete;
    }

    public int getCategory_name() {
        return category_name;
    }

    public void setCategory_name(int category_name) {
        this.category_name = category_name;
    }

    public int getClass_id() {
        return class_id;
    }

    public void setClass_id(int class_id) {
        this.class_id = class_id;
    }

    public String getClass_name() {
        return class_name;
    }

    public void setClass_name(String class_name) {
        this.class_name = class_name;
    }

    public String getSaler() {
        return saler;
    }

    public void setSaler(String saler) {
        this.saler = saler;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getSmall_pic1() {
        return small_pic1;
    }

    public void setSmall_pic1(String small_pic1) {
        this.small_pic1 = small_pic1;
    }

    public String getSmall_pic2() {
        return small_pic2;
    }

    public void setSmall_pic2(String small_pic2) {
        this.small_pic2 = small_pic2;
    }

    public String getSmall_pic3() {
        return small_pic3;
    }

    public void setSmall_pic3(String small_pic3) {
        this.small_pic3 = small_pic3;
    }

    public String getSmall_pic4() {
        return small_pic4;
    }

    public void setSmall_pic4(String small_pic4) {
        this.small_pic4 = small_pic4;
    }

    public String getSmall_pic5() {
        return small_pic5;
    }

    public void setSmall_pic5(String small_pic5) {
        this.small_pic5 = small_pic5;
    }

    public String getDecribe() {
        return decribe;
    }

    public void setDecribe(String decribe) {
        this.decribe = decribe;
    }

    public float getCarriage() {
        return carriage;
    }

    public void setCarriage(float carriage) {
        this.carriage = carriage;
    }

    public int getCount_sum() {
        return count_sum;
    }

    public void setCount_sum(int count_sum) {
        this.count_sum = count_sum;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getCount_watch() {
        return count_watch;
    }

    public void setCount_watch(int count_watch) {
        this.count_watch = count_watch;
    }

    public List<Goods> getGoods_list() {
        return goods_list;
    }

    public void setGoods_list(List<Goods> goods_list) {
        this.goods_list = goods_list;
    }
}



